package excepcion;

@SuppressWarnings("serial")
public class StringTieneNumero extends Exception{
	
	public static boolean isNumeric(String str) {
        return (str.matches("[+-]?\\d*(\\.\\d+)?") && str.equals("")==false);
    }
	
}
